<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./css/reset.css">
  <link rel="stylesheet" href="./css/common.css">
  <style>
    .header .top {
      height: 70px;
      box-sizing: border-box;
      border-bottom: 1px solid #000;
      background-color: #242424;

    }

    .topbar {
      display: flex;
      justify-content: space-between;
      height: 69px;
      color: #ccc;
    }

    .topbar .left {
      display: flex;
      line-height: 69px;
    }

    .topbar .logo {
      width: 157px;
      height: 100%;
      padding-right: 20px;
      background-image: url(./images/topbar.png);
    }

    .topbar .logo>a {
      display: block;
      text-indent: -9999px;
    }

    .top .left .list {
      display: flex;
      align-items: normal;
    }

    .top .left .list .item {
      position: relative;
      text-align: center;
      font-size: 14px;
    }

    .top .left .list .item a {
      position: relative;

      display: block;
      padding: 0 19px;

      color: #ccc;
    }

    .top .left .list .item a:hover,
    .top .left .list .item a.active {
      background-color: #000;
      color: #fff;
    }

    .top .left .list .item a.active::after {
      content: "";
      display: inline-block;
      position: absolute;
      left: 50%;
      top: 64px;
      width: 12px;
      height: 7px;
      margin-left: -6px;
      background-image: url(./images/topbar.png);
      background-position: -226px 0;
    }

    .topbar .right {
      display: flex;
      align-items: center;
    }

    .topbar .right .login {
      width: 45px;
    }

    .topbar .right .login:hover {
      color: #fff;
    }

    .topbar .right .login a {
      font-size: 12px;
      color: #999;
    }

    .topbar .right .login a:hover {
      text-decoration: underline;
      color: #787878;
    }

    .topbar .right .author {
      margin: 0 12px;
    }

    .topbar .right .author a {
      display: inline-block;

      box-sizing: border-box;
      width: 90px;
      height: 32px;

      line-height: 32px;
      border: 1px solid;
      border-radius: 16px;

      font-size: 12px;
      color: #ccc;
      text-align: center;
    }

    .topbar .right .author a:hover {
      color: #fff;
    }

    .topbar .right .search {
      box-sizing: border-box;
      width: 158px;
      height: 32px;
      padding-left: 25px;
      line-height: 32px;
      background-color: white;
      border-radius: 16px;

    }

    .topbar .right .search input {
      width: 120px;
      background: none;
      border: none;

      font-size: 12px;
    }

    .header .bottom {
      height: 35px;
      background-color: #C20C0C;

    }

    .topnav {
      display: flex;
      height: 35px;
    }

    .topnav .list {
      padding-left: 180px;
      display: flex;
    }

    .topnav .list .item {
      display: flex;
    }

    .topnav .list .item a {
      display: flex;
      align-items: center;
      color: #fff;
      font-size: 12px;
    }

    .topnav .list .item a:hover>span,
    .topnav .list .item a.active>span {
      background-color: #9B0909;
      border-radius: 20px;
    }

    .topnav .list .item a>span {
      display: inline-block;
      height: 20px;
      line-height: 21px;
      margin: 0px 17px;
      padding: 0px 13px;
    }
  </style>
</head>

<body>
  <div class="header">
    <div class="top">
      <div class="topbar wrapper_01">
        <div class="left">

          <h1 class="logo"><a href="#">网易云音乐</a></h1>
          <ul class="list">
            <li class="item"><a href="#" class="active">发现音乐<i></i></a></li>
            <li class="item"><a href="#">我的音乐</a></li>
            <li class="item"><a href="#">关注</a></li>
            <li class="item"><a href="#">商城</a></li>
            <li class="item"><a href="#">音乐人</a></li>
            <li class="item"><a href="#">云推歌</a></li>
            <li class="item"><a href="#">下载客户端</a></li>
          </ul>
        </div>
        <div class="right">
          <div class="sprite_top sprite_top_icon_search search">
            <input type="text" placeholder="音乐/视频/电台/用户">
          </div>
          <div class="author"><a href="#">创作者中心</a></div>
          <div class="login"><a href="#">登录</a></div>
        </div>

      </div>

    </div>
    <div class="bottom">
      <div class="topnav wrapper_01">
        <ul class="list">
          <li class="item"><a href="" class="active"><span>推荐</span></a></li>
          <li class="item"><a href=""><span>排行版</span></a></li>
          <li class="item"><a href=""><span>歌单</span></a></li>
          <li class="item"><a href=""><span>播客</span></a></li>
          <li class="item"><a href=""><span>歌手</span></a></li>
          <li class="item"><a href=""><span>新碟上架</span></a></li>
        </ul>
      </div>
    </div>
  </div>

</body>

</html>